<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<title>RainCai Blog-列表页</title>
		<!--描述和摘要-->
		<meta name="Description" content=""/>
		<meta name="Keywords" content=""/>
		<!--载入公共模板-->
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="Public/Home/org/bootstrap-3.3.5-dist/css/bootstrap.min.css" />
		<script src="Public/Home/js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="Public/Home/org/bootstrap-3.3.5-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="Public/Home/css/index.css" />
		<link rel="stylesheet" type="text/css" href="Public/Home/css/backTop.css"/>
	</head>
	<body>
		<header>
			<div class="container">
				<div class="row">
					<div class="col-sm-12">
						<h1>Welcome to RainCai Blog</h1>
					</div>
				</div>
			</div>
		</header>
		<nav role="navigation" class="navbar navbar-default">
			<div class="container">
				<div class="row">
					<div class="col-sm-12" >
					
						<div class="navbar-header">
							
							<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-navbar-collapse">
							
								<span class="sr-only">切换导航</span>
								
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
							</button>
						</div>
												
						<div class="collapse navbar-collapse" id="example-navbar-collapse">
							<ul class="_menu" >
								<li ><a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=Index&a=index">首页</a></li>
																<li ><a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&cid=1">Arc</a></li>					
																<li                  class="_active" 
               ><a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&cid=21">About</a></li>					
															</ul>
						</div>
					</div>
				</div>
			</div>
		</nav>
		












			<section>
			<div class="container">
				<div class="row">
					<!--标签规定文档的主要内容main-->
					<main class="col-md-8">
						<article>
							<div class="_head category_title">
								<h2>
									<?php if($_GET['cid']){?>
                
										分类名称:<?php echo $name?>
									<?php }else{?>
										标签名称:<?php echo $name?>
									
               <?php }?>
								</h2>
								<span>
									共 <?php echo $total?> 篇文章 
								</span>
							</div>
						</article>
						<?php foreach ($arcData as $v){?>
		
						<article>
							<div class="_head">
								<h1><?php echo $v['title']?></h1>
								<span>
								作者：
								<?php echo $v['author']?>
								</span>
								•
								<!--pubdate表⽰示发布⽇日期-->
								<time pubdate="pubdate" datetime=""><?php echo date('y-m-d h:i',$v['sendtime'])?></time>
								•
								分类：
								<a href="<?php echo U('List/index',array('cid'=>$v['cid']))?>"><?php echo $v['cname']?></a>
							</div>
							<div class="_digest">
							<?php if($v['thumb']){?>
                
							<img src="<?php echo $v['thumb']?>"  class="img-responsive"/>
							
               <?php }?>
								<p>
									<?php echo $v['digest']?>
								</p>
							</div>
							<div class="_more">
								<a href="<?php echo U('Content/index',array('aid'=>$v['aid']))?>" class="btn btn-default">阅读全文</a>
							</div>
							<div class="_footer">
								<i class="glyphicon glyphicon-tags"></i>
								<?php foreach ($v['tag'] as $tag){?>
								<a href="<?php echo U('List/index',array('tid'=>$tag['tid']))?>"><?php echo $tag['tname']?></a>、
								<?php }?>

							</div>
						</article>
						<?php }?>
					</main>
						<aside class="col-md-4 hidden-sm hidden-xs">
						<div class="_widget">
							<h4>关于自己</h4>
							<div class="_info">
								<p>我是蔡雨，我是蔡雨，我是蔡雨！！！重要的事情说三遍！！！记住了吗？</p>
								<p>
									<i class="glyphicon glyphicon-volume-down"></i>
									目前状态
									<a href="http://www.houdunwang.com" target="_blank">努力学习php中....</a>
								</p>
							</div>
						</div>
												<div class="_widget">
							<h4>分类列表</h4>
															
							
							<div>
																<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&cid=1">Arc(5)</a>					
																<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&cid=21">About(0)</a>					
															</div>
						</div>
												<div class="_widget">
							<h4>标签云123</h4>
							<div class="_tag">
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=25">天气</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=7">js</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=6">php</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=5">然并卵</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=8">百度</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=9">腾讯</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=10">goole</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=24">哈哈</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=12">ps</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=13">tt</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=14">火狐</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=15">goole浏览器</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=16">百度</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=17">知乎</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=18">必应</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=19">慕课网</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=20">hao123</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=21">zealer</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=22">car</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=23">新车评</a>
							
	
							</div>
						</div>
						
					</aside>
				</div>
			</div>
		</section>
				<footer class="hidden-xs">
			<div class="container">
								<div class="row">
					<div class="col-sm-4">
						<h4 class="_title">最新文章</h4>
												<div id="" class="_single">
							<p><a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=Content&a=index&aid=13">动力提升，北汽幻速H3 1.8L申报信息曝光</a></p>
							<time>15-12-28</time>
						</div>
												<div id="" class="_single">
							<p><a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=Content&a=index&aid=12">国产别克昂科威装港 启程出口北美市场</a></p>
							<time>15-12-28</time>
						</div>
												<div id="" class="_single">
							<p><a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=Content&a=index&aid=11">傲虎长测（31）二手估价傲虎坚挺得很</a></p>
							<time>15-12-28</time>
						</div>
											</div>
					<div class="col-sm-4 footer_tag">
						<div id="">
							<h4 class="_title">标签云</h4>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=25">天气</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=7">js</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=6">php</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=5">然并卵</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=8">百度</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=9">腾讯</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=10">goole</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=24">哈哈</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=12">ps</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=13">tt</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=14">火狐</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=15">goole浏览器</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=16">百度</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=17">知乎</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=18">必应</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=19">慕课网</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=20">hao123</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=21">zealer</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=22">car</a>
														<a href="http://127.0.0.1/hdphp-2.0/index.php?m=Home&c=List&a=index&tid=23">新车评</a>
													</div>
					</div>
					<div class="col-sm-4">
						<h4 class="_title">友情链接</h4>
						<div id="" class="_single">
														<p><a href="http://www.firefox.com.cn/" target="_blank">火狐</a></p>
														<p><a href="http://music.163.com/" target="_blank">网易云音乐</a></p>
													</div>
					</div>
				</div>
			</div>
		</footer>
		<div class="footer_bottom">
			<div class="container">
				<div class="row">
					<div class="col-sm-12">
						<a href="">RainCai blog</a>
						 | 
						<a href="">RainCai版权所有</a>
						 |
						<a href="">raincai@126.com</a>
					</div>
				</div>
			</div>
		</div>
		<!--返回顶部自己写的插件-->
		<script src="Public/Home/js/backTop.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
				//插件使用
				$('.back_top').backTop({right:30});
			})
		</script>
		<div class="back_top hidden-xs hidden-md">
			<i class="glyphicon glyphicon-menu-up"></i>
		</div>
	</body>
</html>